package com.cn.mapper;


import com.cn.entity.EbNews;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EbNewsMapper {
    int deleteByPrimaryKey(Integer enId);

    int insert(EbNews record);

    int insertSelective(EbNews record);

    EbNews selectByPrimaryKey(Integer enId);

    int updateByPrimaryKeySelective(EbNews record);

    int updateByPrimaryKey(EbNews record);

    List<EbNews> findByPage(@Param("page")int page,@Param("pageSize")int pageSize);

}